import axios from "@/utils/http";
import { tokenStore } from "@/store/modules/user";

/**
 * 关闭监控摄像头
 * @param params
 */
export const monitor_close_click = (params:Object) => {
    return axios({
        url: "/api/monitor_close_click",
        method: "get",
        params,

    })
}
/**
 * 关闭人脸录入摄像头
 * @param params
 */
export const register_close_click = (params:Object) => {
    return axios({
        url: "/api/register_close_click",
        method: "get",
        params,

    })
}
/**
 * 关闭追踪摄像头
 * @param params
 */
export const track_close_click = (params:Object) => {
    return axios({
        url: "/api/track_close_click",
        method: "get",
        params,

    })
}

/**
 * 关闭入侵监测摄像头
 * @param params
 */
export const invade_close_click = (params:Object) => {
    return axios({
        url: "/api/invade_close_click",
        method: "get",
        params,

    })
}
/**
 * 关闭人脸识别摄像头
 * @param params
 */
export const recognize_close_click = (params:Object) => {
    return axios({
        url: "/api/recognize_close_click",
        method: "get",
        params,

    })
}